﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpenseSystem.Model;
using ExpenseSystem.Lor;
using ExpenseSystem.Common;
using ExpenseSystem.DataUpdater;
using ExpenseSystem.Fether;
using ExpenseSystem.Core.DataAddOn;

namespace ExpenseSystem.Core.FiscalPeriodModules
{
    public class FiscalPeriodBaseManager : FiscalPeriodManager
    {
        protected UserProfile userProfile = Authority.Authority.GetUserProfile();

        public override bool Save(FiscalPeriodModel employee,  out string message, params IAddable<FiscalPeriodModel>[] addable)
        {
            FiscalPeriodFetcher fetcher = new FiscalPeriodFetcher();
            return updater.Save(employee, tran, fetcher, out message);
        }
    }
}
